package com.ruoyi.ncpsy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农药信息登记对象 ncpsy_pesticide_info
 * 
 * @author ruoyi
 * @date 2025-08-24
 */
public class NcpsyPesticideInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long pesticideId;

    /** 农药名称 */
    @Excel(name = "农药名称")
    private String pesticideName;

    /** 农药种类 */
    @Excel(name = "农药种类")
    private String pesticideType;

    /** 所属用户ID */
    @Excel(name = "所属用户ID")
    private Long userId;

    /** 生产厂家 */
    private String manufacturer;

    /** 有效期 */
    @Excel(name = "有效期")
    private String validPeriod;

    /** 农药登记证号 */
    private String registrationNo;

    /** 主要成分 */
    private String mainComponents;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setPesticideId(Long pesticideId) 
    {
        this.pesticideId = pesticideId;
    }

    public Long getPesticideId() 
    {
        return pesticideId;
    }

    public void setPesticideName(String pesticideName) 
    {
        this.pesticideName = pesticideName;
    }

    public String getPesticideName() 
    {
        return pesticideName;
    }

    public void setPesticideType(String pesticideType) 
    {
        this.pesticideType = pesticideType;
    }

    public String getPesticideType() 
    {
        return pesticideType;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }

    public void setValidPeriod(String validPeriod) 
    {
        this.validPeriod = validPeriod;
    }

    public String getValidPeriod() 
    {
        return validPeriod;
    }

    public void setRegistrationNo(String registrationNo) 
    {
        this.registrationNo = registrationNo;
    }

    public String getRegistrationNo() 
    {
        return registrationNo;
    }

    public void setMainComponents(String mainComponents) 
    {
        this.mainComponents = mainComponents;
    }

    public String getMainComponents() 
    {
        return mainComponents;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pesticideId", getPesticideId())
            .append("pesticideName", getPesticideName())
            .append("pesticideType", getPesticideType())
            .append("userId", getUserId())
            .append("manufacturer", getManufacturer())
            .append("validPeriod", getValidPeriod())
            .append("registrationNo", getRegistrationNo())
            .append("mainComponents", getMainComponents())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
